From 3387347b3dc0961ef2ab4eb60fabe53b854c2245 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 26 Apr 2001 07:38:12 +0000 Subject: [PATCH] (dabbrev--select-buffers): Add a doc string. --- lisp/dabbrev.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index a5a37c3d20f..62c3befa908 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -651,6 +651,11 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]." ;;; Find all buffers that are considered "friends" according to the ;;; function pointed out by dabbrev-friend-buffer-function. (defun dabbrev--select-buffers () + "Return a list of all buffers that should be searched for a possible abbrev. + +This function makes a list of all the buffers returned by `buffer-list', and +then filters out every buffer for which `dabbrev-friend-buffer-function', +if it is bound, returns nil. The resulting partial list is returned." (save-excursion (and (window-minibuffer-p (selected-window)) (set-buffer (dabbrev--minibuffer-origin))) -- 2.30.2